import * as ax from './request';

export const url = ax.url + '/op'
// export const url = ax.url

export const getMemberLevelGrowthList = (params) => {
    return ax.g(url + '/member/level/growths', params)
}

export const getMemberLevelGrowth = (params) => {
    return ax.g(url + '/member/level/growths/' + params.id, params)
}

export const createMemberLevelGrowth = (params) => {
    return ax.p(url + '/member/level/growths', params)
}

export const updateMemberLevelGrowth = (params) => {
    return ax.u(url + '/member/level/growths/' + params.id, params)
}

export const delMemberLevelGrowth = (params) => {
    return ax.d(url + '/member/level/growths/' + params.id, params)
}

export const prepay = (params) => {
  return ax.p(url + '/member/level/growths/prepay', params)
}
